//
//  PhotoEditViewController.h
//  XPhoto
//
//  Created by baboy on 2019/5/29.
//  Copyright © 2019 baboy. All rights reserved.
//

#import "BKViewController.h"
#import "PhotoAssetPreviewViewController.h"
NS_ASSUME_NONNULL_BEGIN

@protocol PhotoEditDelegate;

@interface PhotoEditViewController : PhotoAssetPreviewViewController

@property(nonatomic, strong) IBOutlet UIScrollView *bottomPannel;
@property(nonatomic, strong) IBOutlet UIPageControl *pageControl;

@property(nonatomic, strong, readonly) NSMutableArray *photos;
@property(nonatomic, strong) NSMutableArray *pageViews;
@property(nonatomic, assign) id<PhotoEditDelegate> delegate;

- (id)initWithPhotos:(NSArray*)photos;
- (id)initWithAssets:(NSArray*)assets;

@end


@protocol  PhotoEditDelegate <NSObject>
@optional
- (void)photoEditViewController:(id)controller didEditPhotos:(NSArray*)photos;

@end

NS_ASSUME_NONNULL_END
